textures

Defines the texture set used for rendering the button background

Return

this builder

Author

fzzyhmstrs

Since

0.6.3, updated to use base provider interface 0.6.4

Parameters

textures

TextureProvider Predefined set of textures for this buttons various states


fun textures(tex: Identifier, disabled: Identifier, highlighted: Identifier): CustomButtonWidget.Builder
fun textures(tex: Identifier, disabled: Identifier, highlighted: Identifier, highlightedDisabled: Identifier): CustomButtonWidget.Builder

Defines the texture set used for rendering the button background

Return

this builder

Author

fzzyhmstrs

Since

0.6.0

Parameters

tex

Identifier the "normal" texture, rendered when the button is active but not focused

disabled

Identifier rendered when the button is disabled. This has higher priority than highlighted, so will render focused or not.

highlighted

Identifier rendered then the button is active and focused.